package com.itheima.Test;

import java.util.Scanner;

public class Test3 {
    public static void main(String[] args) {
        System.out.println("请输入分数");
        Scanner sc = new Scanner(System.in);
        int score = sc.nextInt();
        if(score >= 0 && score <= 100) {
            if(score >= 95 && score <= 100) {
                System.out.println("奖励自行车一辆");
            } else if(score >= 90 && score <= 94) {
                System.out.println("奖励自由玩一天");
            } else if(score >= 80 && score <= 89) {
                System.out.println("奖励变形金刚");
            } else {
                System.out.println("打一顿");
            }
        } else {
            System.out.println("分数不合法");
        }
    }
}
